package com.warehouse.module.system.controller.admin.appuser.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import com.warehouse.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static com.warehouse.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - APP用户分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class AppUserPageReqVO extends PageParam {

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "昵称", example = "赵六")
    private String nickName;

    @Schema(description = "手机号")
    private String phoneNumber;

    @Schema(description = "头像地址", example = "https://www.iocoder.cn")
    private String headImageUrl;

    @Schema(description = "微信公众号id", example = "27641")
    private Long mpUserId;

    /**
     * 所属公司
     */
    private Long companyId;

    private String appId;

    /**
     * 微信公众号ID
     */
    private Long accountId;

}